package com.ssyt.store.sys.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.ssyt.store.common.BaseDao;
import com.ssyt.store.sys.dao.StoreOrderProductDao;
import com.ssyt.store.sys.entity.StoreOrderProduct;

@Repository
public class StoreOrderProductDaoImpl extends BaseDao<StoreOrderProduct, String> implements StoreOrderProductDao {

	@Override
	public List<StoreOrderProduct> list(String userId) {
		return null;
	}

	@Override
	public String addStoreOrderProduct(StoreOrderProduct product, String userId) {
		return save(product);
	}

	@Override
	public StoreOrderProduct getStoreOrderProduct(String id) {
		return get(id);
	}

	

}
